package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 * 腾讯配置
 * Created by wuwc on 2017/7/13.
 */
@Component
@DisconfFile(targetDirPath = "disconf", filename = "moxie.properties")
public class MoXieProperties {

    private String token;

    private String originSecurityUrl;

    private String originFundUrl;

    private String originEmailUrl;

    private String securityUrl;

    private String fundUrl;

    private String zhengxinUrl;

    private String emailUrl;

    @DisconfFileItem(name = "moxie.token", associateField = "token")
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @DisconfFileItem(name = "moxie.security.url", associateField = "securityUrl")
    public String getSecurityUrl() {
        return securityUrl;
    }

    public void setSecurityUrl(String securityUrl) {
        this.securityUrl = securityUrl;
    }

    @DisconfFileItem(name = "moxie.fund.url", associateField = "fundUrl")
    public String getFundUrl() {
        return fundUrl;
    }

    public void setFundUrl(String fundUrl) {
        this.fundUrl = fundUrl;
    }

    @DisconfFileItem(name = "moxie.email.url", associateField = "emailUrl")
    public String getEmailUrl() {
        return emailUrl;
    }

    public void setEmailUrl(String emailUrl) {
        this.emailUrl = emailUrl;
    }

    @DisconfFileItem(name = "moxie.zhengxin.url", associateField = "zhengxinUrl")
    public String getZhengxinUrl() {
        return zhengxinUrl;
    }

    public void setZhengxinUrl(String zhengxinUrl) {
        this.zhengxinUrl = zhengxinUrl;
    }

    @DisconfFileItem(name = "moxie.originSecurity.url", associateField = "originSecurityUrl")
    public String getOriginSecurityUrl() {
        return originSecurityUrl;
    }

    public void setOriginSecurityUrl(String originSecurityUrl) {
        this.originSecurityUrl = originSecurityUrl;
    }

    @DisconfFileItem(name = "moxie.originFund.url", associateField = "originFundUrl")
    public String getOriginFundUrl() {
        return originFundUrl;
    }

    public void setOriginFundUrl(String originFundUrl) {
        this.originFundUrl = originFundUrl;
    }

    @DisconfFileItem(name = "moxie.originEmail.url", associateField = "originEmailUrl")
    public String getOriginEmailUrl() {
        return originEmailUrl;
    }

    public void setOriginEmailUrl(String originEmailUrl) {
        this.originEmailUrl = originEmailUrl;
    }
}
